﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace XWG.JWBST.JWBSTManagementApp.Application
{
    public partial class TbBstOnlineAskTransfer : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                BindSelPoliceKind();
            }
        }
        protected void BindSelPoliceKind()
        {
            var list = XWG.JWBST.JWBSTBLL.TbBstDicBLL.GetDictionaryByCode("JZ");
            selCategory.DataSource = list;
            selCategory.DataTextField = "Description";
            selCategory.DataValueField = "Code";
            selCategory.DataBind();
            selCategory.Items.Insert(0, new ListItem("请选择", ""));
            selCategory.Value = "";
        }
    }
}